'Declaration
Public Overloads Sub WriteRange(Of T As {New, Struct})( _
ByVal data() As T, _
ByVal offset As System.Integer, _
ByVal count As System.Integer _
)
public void WriteRange<T>(
T[] data,
System.int offset,
System.int count
)
where T: new(), struct
Parameters
data
An array of values to be written to the stream.
offset
The zero-based offset in data at which to begin copying values to the current stream.
count
The number of values to be written to the current stream. If this is zero, all of the contents data will be written.
Type Parameters
T
The type of the values to be written to the stream.
Exceptions
Exception
Description
System.NotSupportedException
This stream does not support writing.
Remarks
In order to provide faster read/write, this operation doesn't check stream bound. A client must carefully not read/write above the size of this datastream.